Newton Developer Technical Support Sample Code
Basic Modem, Newton 2.0 Modem Sample
by Jim Schram & Bruce Thompson, Newton Developer Technical Support
Copyright 1995 Apple Computer, Inc.  All rights reserved.

You may incorporate this sample code into your applications without
restriction.  This sample code has been provided "AS IS" and the
responsibility for its operation is 100% yours.  You are not
permitted to modify and redistribute the source as "DTS Sample Code."
If you are going to re-distribute the source, we require that you
make it clear in the source that the code was descended from
Apple-provided sample code, but that you've made changes.


This example shows the basics of modem communications using protoBasicEndpoint.

For those familiar with ACME Modem, this is a conversion of ACME modem to be 2.0 Savvy.

For those not familiar with ACME Modem, this shows the entire life cycle of a modem endpoint. The modem can be set to listen for incoming connections or to initiate the connection. There is a long discussion in the ACME Modem README file which discusses the purpose which is recommended for those unfamiliar with ACME Modem.

MODIFICATION HISTORY
====================

Basic Modem-1
------------------------------
Initial Release


Basic Modem-2
------------------------------
Fixed incorrect power off handler logic.
Fixed incorrect :MResetConnection method.
